Feature/UI update - #9
Merged
Merged
Conversation
mohdaquib
commented
Jul 12, 2026
Owner
- Updated sample app UI design
- Add custom `ScannerTheme` with dedicated `ScannerDarkColorScheme`, `ScannerTypography`, and `ScannerShapes`. - Define a semantic color palette including warning, info, and success colors in `Color.kt`. - Integrate Google Fonts (Inter) and configure typography settings in `Type.kt`. - Update `SampleActivity`, `FixedScreenAccessibilityTest`, and previews to use `ScannerTheme` instead of the default `MaterialTheme`. - Add `androidx.compose.ui.text.google.fonts` dependency to the sample module. - Update `.gitignore` to include Android Studio deployment target selector configurations.
- Redesign `BrokenLoginScreen` to simulate a modern banking login interface with "SecureBank" branding. - Add password visibility toggling using `VisualTransformation`. - Implement new UI elements including a custom `BankLogoMark`, gradient buttons, and a "Device trust" section. - Intentionally include accessibility issues like small touch targets for "Show/Hide" and "Forgot password" links to demonstrate scanner capabilities. - Update styling with a dark theme palette and improved layout using nested `Column` and `Row` components.
- Redesign `BrokenFeedScreen` and `FixedFeedScreen` to showcase a "Market Pulse" financial news feed, replacing the generic image placeholders. - Introduce `MarketFilterChip` and `FinancialNewsCard` / `FixedFinancialNewsCard` components to demonstrate accessibility issues like poor color contrast and duplicate descriptions in a realistic context. - Overhaul `FixedLoginScreen` with a "SecureBank" theme, featuring improved contrast, password visibility toggling, and explicit accessibility semantics for interactive elements. - Enhance the sample app's visual style using dark themes, custom drawing for charts, and modern Material 3 typography. - Ensure all new components maintain touch targets of at least 48dp and provide appropriate content descriptions in the "Fixed" versions.
- Replace the generic "Broken Form" example with a "Payment Form" containing fields for amount, recipient, payment date, and reference notes. - Implement intentional focus order issues in `BrokenFormScreen` by using absolute positioning for elements within a `Box` layout. - Provide a corresponding `FixedFormScreen` that uses a `Column` layout to ensure a logical top-to-bottom focus flow. - Add a reusable `PaymentSubmitAction` component featuring a gradient background and custom click role. - Improve accessibility in the fixed version by adding proper semantics and content descriptions to UI elements.
- Introduce `screenIcons` list to provide specific icons for each navigation destination (Login, Feed, and Form). - Replace conditional icon logic in the navigation bar with dedicated icons from the new list. - Import `Person`, `List`, and `Edit` icons for use in the navigation component.
…ction - Extract UI components from `SampleActivity.kt` into dedicated files: `LoginScreens.kt`, `FeedScreens.kt`, `FormScreens.kt`, and `SampleComponents.kt`. - Implement `SampleSemanticsExtractor.kt` to handle `A11yNode` extraction, including viewport filtering and Compose view traversal. - Simplify `SampleActivity.kt` by using modularized screen components and a new `SampleScreen` data model for navigation. - Improve accessibility of "Fixed" sample screens by adding proper semantic roles, content descriptions, and touch target sizes. - Add `SampleViewportTag` and `BrokenSampleContentTag` to facilitate targeted accessibility scanning within the sample app.
- Enhance `IssueHighlightBox` with corner accent lines and a semi-transparent fill for improved visibility of identified issues. - Redesign `ScanSummaryBar` into a centered, animated pill-shaped surface with elevation and a glow effect. - Implement a custom `RadarSweepIcon` with an infinite rotation animation to represent active scanning. - Update `ScanSummaryBar` layout to use animated width transitions between scanning, complete, and error states. - Standardize chips for errors, warnings, info, and scores using a pill shape and updated color palette. - Refactor internal content components (`ScanningContent`, `ScanCompleteContent`, `ErrorContent`) for better layout and typography consistency.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.